package aw;

import java.rmi.Remote;
import java.rmi.RemoteException;
import aw.AgentInterface;

public interface ServerInterface extends Remote {
	
	boolean Move(String id, String direction) throws RemoteException;

	boolean Catch(String id, String direction) throws RemoteException;

	boolean Combine(String id, String objA, String objB)
			throws RemoteException;

	boolean Use(String id, String what, String toWhat)
			throws RemoteException;

	boolean SendMessage(String idSource, String idDestination,
			String message) throws RemoteException;

	boolean Trade(String id, String offering, String wanting)
			throws RemoteException;

	String RegisterAgent(int teamID, AgentInterface agent) throws RemoteException;
    	
}
